<?php
use Illuminate\Database\Seeder;

class DepartmentsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     * @return void
     */
    public function run()
    {
        $now = date('Y-m-d H:i:s');
        DB::table('departments')->insert([
            'f_id' => '0',
            'name' => '默认',
            'created_at' => $now,
            'updated_at' => $now,
        ]);
    }
}
